projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52fd67
)
(diff-latest-backup-file): Call file-chase-links.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 9 Jan 1994 22:36:46 +0000
(22:36 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 9 Jan 1994 22:36:46 +0000
(22:36 +0000)
lisp/diff.el
patch
|
blob
|
history
diff --git
a/lisp/diff.el
b/lisp/diff.el
index 82a657f4ecc9d19ebbce923be6d12d2cbceb3d69..6d0a08627cd821bd828aa3d6452491a9e63e4f1a 100644
(file)
--- a/
lisp/diff.el
+++ b/
lisp/diff.el
@@
-260,7
+260,7
@@
The backup file is the first file given to `diff'."
;; Ignore the value of version-control because we look for existing
;; backups, which maybe were made earlier or by another user with
;; a different value of version-control.
- (setq fn (
expand-file-name fn
))
+ (setq fn (
file-chase-links (expand-file-name fn)
))
(or
(let ((bak (make-backup-file-name fn)))
(if (file-exists-p bak) bak))